package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Orderform implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 司机id
     */
    private Integer driverid;

    /**
     * 商品id
     */
    private Integer product;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 核销码
     */
    private String writercodr;

    /**
     * 时间
     */
    private LocalDate otime;
    private Integer zid;

}
